Removed browserify. Changed api style.