Update for new api
Update for new browserify api