Javascript Check If String Contains Any String Index