made changes to the html and js files for completion.