npm/browserify friendly