fixing one of the js files