Rewrite the marker-end stuff for browser compatibility.

Firefox cannot use external CSS stylesheets to assign marker-end. Chrome
cannot use external .svg files to assign marker-end. FML.