Adds end of function comments to TseComponentClass.js