How To Check If Element Is Not Present In Array Javascript