Added require.js scaffold in index.html and main.js