Fix JS files