Fix issues with browserify build