load JS variables that are HTML-text from DOM templates