JS - correct typo