bundle.sh fix, proper usage of newer browserify

Adapted bundle.js and test pages along.
Fixes #63