Fixed Typo in javascript