jQuery based getWindow