Added AJAX buttons for all variables in graph