clean the html and code in general a bit for better performance