Update main.js

debugger; function works.  This will come in handy