Fixed java script typo