updated webgl-framewok to handle framebuffers