[1685] Compatibile mode for IE

Proszę o review. 
https://gist.github.com/Exorades/706cc7e3b7405169a8d5