adding test script
Update main.js