Check If Array Contains String Javascript Methods And Functions