reformatted JS