Update main.js

Bug:Can add score in Default state