Making find matches work on IE