Begin main.js file