simple javascript build script for browser components