function ensureUapPrefixedCapabilities(capabilities) {
    capabilities.getchildren()
    .forEach(function(el) {
        if (CAPS_NEEDING_UAPNS.indexOf(el.attrib.Name) > -1 && el.tag.indexOf('uap:') !== 0) {
            el.tag = 'uap:' + el.tag;
        }
    });
}