src/PopupTools.js
function optionsToString(options) {
    return Object.keys(options)
        .map(function processOption(key) {
            return key + "=" + options[key];
        })
        .join(",");
}
function optionsToString(options) {
    return Object.keys(options)
        .map(function processOption(key) {
            return key + "=" + options[key];
        })
        .join(",");
}
Return options converted to a string

@param  {Object} options
@return {String}