documented js