main.js has to be loaded the last