fixed Grunt modernizr task. Cleaned up app.js code to make a little more DRY