* [js/api] add typedoc and revise comments * update document * fix lint error * use config file for typedoc