added makepot
fixed gruntfile error and improved template.js
minor changes