Adding npm packaging to support browserify.