better error handling in browserify bundling (fixes #9)
better error handling in browserify (fixes #9)