main.js is completed everything works