add function fetchleaguemanage in globs.js