Reverted 'lazy loading' changes because the 'blank page' problem wasn't caused by this but jQuery interpreting template content as Document