(function(){ var fn_str = demo_shader.innerHTML var shader = new Function('lex', 'x', 'y', fn_str) window.shader = shader })()