Rename {Function} to {function} in JSDoc tags

I'm not 100% confident with the `{function}` arguments and return type ...