Added modernizr and fixed IE8 issues