modify commonjs scroll