typo in js file