Added beautification of the html code to be displayed to the user