make js namespace global