Framework for creating rich WebGL-enabled applications using JavaScript and Ruby