Fix reference to uglifyjs, we're using v2
Add bug url to packaga.json.
Reorganize and start writing the build functionality.