Update main.js

less the time