setting max number of intervals for json
Merge branch 'master' of https://github.com/michaelmuse/twendy