make corrections to the js and index.html files, still needs work