fixed bug in js file