Ajax json changes to make bills chart dynamic