update global namespace in minified version