jQuery based isWindow