Adding some JS to determine height of window

Adding some JS to determine height of window.  It also disables vertical
scrollbar there.