Replace closure minification with r.js/uglify.
Remove process module and ENV dependency.
Fix typo in Makefile.