Bugfix "elem.style is undefined"

In jQuery version 1.6.1 when using "$(window).outerHeight()", it results in an error stating "elem.style is undefined"
Changing to "$(window).height()" fixed the error. 
It is because the Window object has no property called "style"