Use browser field in package.json instead of process.verions tests

Replace process.versions tests by browserify's package.json browser field.

Fixes #329.