<svg xmlns="http://www.w3.org/2000/svg"> <script>//<![CDATA[ function add_watch() { document.getElementById("e").points.watch("0", function(){}); } window.addEventListener("load", add_watch, false); //]]></script> <polygon id="e" points="0,0"/> </svg>