fix typo in docstring
debug js mode