starting main.js