changed main.js

replaced main.js with sample main.js