Update Detector.js

Added test for SVG support.