Update javascript.md

Minor edits.