+ build as package with browser support

Hi Harri, what would you say about shipping this module as a single-file source. This pr also adds browser support. 

Usage:
```bash
$ npm install
# build
$ npm run build
# watch sources to reimport
$ npm run watch
```

Cheers, Alex