Ditching cake file

* remove cake file
* remove `assert` statements from minified version
* use `grunt` in the `pre-publish` npm task
* output the js files in the `dist/` folder