little tweak to main.js.