js port of pdoc, with extentions