clean up html structure and associated css