downgrade to browserify 4.2.3 and add fixes to example