added moving timer for script.js