Check If String Not In Array Javascript Function How To Use