html2js template to ease implementation