format the html files and delete some html temp files while editing.