main.js becomes worthy for production