Update image.class.js

Removed render method, added support for x and y positioning, fixed toSVG