Removes document.location.toString() from uri for the SVG gradient

Patch looks reasonable. Possibly, line 113 should simply be reactivated and line 114 deleted.