fix browserify issues