Update scroll.js to strict mode