Remodaled and added AJAX calls to get individual charts