Added index and main.js file