Added Anvil for a build system, switched to Uglify for minification, fixed a few minor things pointed out by JSHint