Get rid of HTML fragments
Property template using JS (waiting for a better JS templating engine... Mustache?)
Property template using Mustache JS. Done for properties, to be extended to other templates.