changed js namespaces