fix error in javascript