reformat js