adjusted extensions to support require.js
updated Gruntfile