formatted the html using beautify