added comments to /public/javascript