Javascript Check If List Contains String