modified index.html and js files