DOM parsing and show it properly