update some changes in _main.js