Javascript Check If Element Exists In Array Literal An Array