Fix minor formatting error
Modify JS to account for body height greater than window height