trying to work out some basic setup of webgl using prototype and require.js