Add index and main.js files