Tweaked gruntfile.js and template.js.