added all js files to the js directory and fixed the paths in index.html