fixed title text and typo in javascript comments