remove all id's, clean up classes, remove extraneous markup, fix some php errors