Format JS file