remove some lines in js file