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