Fixed problem with jQuery loading of three.js script.