Refs #9941; Added missing endsWith function to avoid js errors when using eea.googlecharts without eea.exhibit