Fixed JavaScript typo