function parse(urlStr) {
        var anchor = document.createElement('a');
        anchor.href = urlStr;
        var urlObj = {};
        URL_PROPERTIES.forEach(function (property) {
            urlObj[property] = anchor[property];
        });
        return urlObj;
    }
@param {string} urlStr URL to parse
@returns {object} Object with fields representing the various parts of the parsed URL.