Check If Item Already Exists In Array Javascript Documentation