Fix the JS format