Fixed typo in JS