HTML based page and event templates, using core.async