add comments

Added comments (that closure understands) to clean up the compile warnings.