Remove unused functions from webgl-test.js