Made the initial JavaScript run after the document is loaded (Should reduce failures), removed move rate as it doesn't seem necessary any more, made console log adjust height and scroll condition for mobile.