re-wrote the page using google.visualization API