update Gruntfile.js and add better IE8 support