added java script libraries for displaying the graph