clean up html and styles