Base64 encode the data-uri for IE9 Support