fix: gracefully handle browsers that don't support svg elements

Closes #181