Store $(window) in a variable