That utility function really doesn't belong there, and adds two requirements to googlecharts that it actually never uses.