Javascript Check If Array Contains Element