Fix JavaScript typo