update js namespaces to be private (vendor style)