add support for loading svg from an nsdata