fix browser global export in build script