added script on searchleague.html