added script on the head of leaguemanager_profile.html