add scripts for browser builds