Sets the config to compile and minify js.

Fixes #5.