Fixed typo in js