Distinguish between SVG and VML using Raphael type flag