Minor fix main.js.