added all js files to the js subdirectory and changed the paths in index.html to correspond, and added MIT license