fix writing of JavaScript

wording