Added jQuery and used it to get graph data in json form.