fetching svg data as base64 and appending it to the page