Minor documentation fixes.
Use 'JavaScript' in docs consistently.