Added no-SVG error message.

Added error message if browser not SVG-compatible. Cleaned up a little
code.