Nit fixes for svg.js
Merge pull request #5164 from timvandermeij/svg-nits

Nit fixes for svg.js