fixed svg datauri bug for firefox, ie