Fix typo in javascript doc.