Update main.js

modified js