Added more notes to all files. Created a js file.