Improve svg-loader.js

fix some jshint warns
0.0.78