modified comments in func.js