Js Check If Element In Array Javascript Methods List