Debug v3 Final commit

Updated main.js file