cleanup html structure and files