make the JS work in ie8 for interactions