Fixed typo in JS. Doh