reformatted js