Added more fetchLeague functions and getparameterbyname function