reorganized all the static html and js files,
fix require.js path issues