formatting js