Javascript Remove Array Element While Iterating Words That Start With X