Improve comments in _.isEqual and minor code changes