[#2092] Fix js in ie
Merge pull request #2164 from baloo/bugfixes/2092-js-router-ie

[#2092] Fix js in ie