Update main.js

removed a couple of debug statements