Clean up html and js.