Framebuffer object wrapper for JavaScript