Fix typo in JS