changed wording of the explanation for the JavaScript code sample