build process for browser version