Update docs/JAVASCRIPT.md

update