store all DOM templates in DOM_TEMPLATES global.
don't bother w/ debounce since we don't live-update on keypress.