added a comment

added a comment to clarify the js.