works in browserify now