fixed typo in js file