format the JS