split the js namespaces out for ease of editing and tests