JS addon: scrollToTop functionality

New JS script to enable scrollToTop and scrolling to any element from
any element.