Remove stuff that breaks browserify build