upd js code
add docstrings
add docstrings
add docstrings
Merge pull request #12 from yaroslav-dudar/11-t10-update-tests

11 t10 update tests