Adding comments to js file
Adding more details to READMe.md file.