Added comments to the pureFun.js file