I\'m doing a simple test on $(window).height() and I\'m getting a value of 2602 on a screen resolution of 1366 x 768.
jQuery(document).ready(function($){
jquery uses clientWidth and height that returns value of current showing page excluding scroll bar space there is one way to make it accurate do overflow:hidden to your body tag then you will get the original viewport size