Vanilla - Template with separated getSettings(), setElements function.