Remove unnecessary range.toString() check, not in IE