Javascript Check If String Contains String From Array To Hashmap