Other small correction in main.js