HTML5 and Javascript Templates