more reliable feature detection function, add root.jQuery