added the rest of the files to repo and more changes to the .js file