update to match new andreypopp/browserify api