Rename js/index.js to res/js/index.js