pretty text and no more js errors