modification of docco.js