- fixed typo in javascript