Updated the JS docs