Properly format js file.