added scripts key
fixed scripts key
removed console log
call method on load because some browsers don't trigger a scroll event on load
call method on load because some browsers don't trigger a scroll event on page load