Update main.js

current date