Fixed typo in js specs