fix loading of glsl files, which hangs some browsers