fixed uglify build issue by using node script to do minification

Sorry about that issue caused by expecting uglify to be in async's node_modules directory.  This pull request uses a node script to do the minification instead of the command line, so uglify will be found, as long as it is installed somewhere in the module hierarchy.