format the js files