added support for web browsable svg files through a js-script