wrap long lines
cleanup mixed php and html