javascript updates

added a readme file and moved 2 .js files to their correct locations