Templates generate html, still needs event handlers