correct js namespace issue