formatting js files