Trying window via some magic jquery