Added JS dependencies for scroll events.