The following code works great when it is the only thing in an HTML file:
If one opens this HTML file in a browser, it displays a spinning 3D cube.
So, following suggestions elsewhere on this forum, I created a new WebControlWrapper, and I overrode the HTMLHeader method to load the three libraries (so they only are loaded once per page), using the following code:
//Make sure the libraries only get added to the header once
dim sa() as string