add jsduck doc build and update docs in api