keeps the window height accurate when the browser falls back to quirks mode

when the browser falls back to quirksmode (through invalid html/doctype/whatever) jquery calculates window height using availableheight, instead of screen.height, which should always work