modularized & abstracted the js-scroll script
added a comment for ease of use