Update util.js

Oh ok i changed the grouping on svg with just one element.