Added functionality to switch stats for team when team name is clicked in league table
Added renderForm function - creates pie chart using the team's form over last 6 matches