Javascript If Element In Array