fixed typo in js name