Update main.js

Removed odd code.