Update main.js

shouldnt be console logging