attributeList.js: add some documentation