function getAttributeName(jsName) {
    return jsName.replace(/([A-Z])/g, '-$1').toLowerCase();
  }
Converts a camelCase javascript property name to a hyphenated-lower-case
attribute name.
@param {string} jsName The javascript camelCase property name.
@return {string} The equivalent hyphenated-lower-case attribute name.