building js namespace