svg method in medigeist.js simplified