clean up html file