Move loading-indicator markup into the DOM