mod_base: document params width and addclass in js source