<html> <head> <script> function boom() { var SVG_NS = "http://www.w3.org/2000/svg"; var feFuncG = document.createElementNS(SVG_NS, "feFuncG"); feFuncG.offset.baseVal = 1; } </script> </head> <body onload="boom();"> </body> </html>