Got Ajax calls working properly and average scores calculate and display properly