jquery plugin encapsulating google chart api