Modified webgl-demo.js to test cross-origin issue.