Fixed typo in JS documentation.