Implement 'grunt'

I gave this a go and while I was at it I implemented `grunt` to automate the linting and minification of `javascript`.
It's of course up to you to merge this to your project, but it would at least make it easier for others to contribute while keeping a certain standard to the code. :beers: