Update main.js

about beta 1