updating JS to ignore revision datetime when turning namespaces into labels