add .editorconfig and unit test
update Gruntfile.js and add better IE8 support