remove unnecessary templates, use onBeforeRender
FEATURE: remove (most) custom templates, use onBeforeRender, clean up JS