Improved utils.js isFunction() helper
Comments updated
Updated comments