This script determines whether SVG is available and if so, SVG images are loaded, otherwise the script serves a PNG fallback