Creating an SVG element using a NameSpace.

Now the detection works correctly even if there was no SVG element in
the document.