Client side template string-to-dom parser with data attaching.