added comments to js
Merge pull request #3 from eastcoastsb/master

added comments to js