IE fixes in js
Merge branch 'master' of https://github.com/kyvkri/mg-git