Update jquery.scrollTo.js

moved static variables out of functions