Javascript Array Add Element If Not Exists