Utilize node/npm for the dist build step.

This removes a dependency on a unix-like environment for building
the dist files, and makes it easier to pull in the necessary build
dependencies (browserify, uglify).