IE8+ compatibility and some deploy fixes