cubicweb.htmlhelpers.js functions tests