minor typo in js name