fix package.json for npm and browserify

This allows you to install with npm and bundle with browserify correctly, including proper sourcemap support.