Add manual feature detection for SVGForeignObject

Is better to use feature detection, since IE10 does not support comment
tags and jQuery +1.9 deprecated browser detection

Note: Couldn't find a way to use modernizr for this particular element