a script to load SVG in HTML and load bitmap alternative only if SVG fails