add comments for ec js