In compositewebgljpg consistently defer execution of all parts of the main view code until when the DOM is fully-loaded. This may be an anti-pattern and unnecessary, but I want the code to be consistent. It will be simple to remove this if unnecessary.