make it work with new browserify
update send