extract JSDocParser as an extra module