Added some compatibility and mixins for IE8