Use the browserify API rather than the shell command.