Using browserify to build release package.

Had to adapt source to work with both grunt and browserify