added dtT and views_factory.js class