Javascript Check If Value Does Not Exist In Array Meaning