require js added, created main.js file