Creating main.js