Cleaned a bit tpls HTML code