fixing failing js files