home change to index and js files