set root to home controller index
move js from public directory to assets