fix css and .contains, .startsWith, and .endsWith rewritten using .indexOf