remove dependencies on browserify-provided code