Lazy creation of WebGL programs