added comments to main.js
merge testing