added templates.js -- still not if it's the right way to go...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>