update to global js namespace