Allows longer timespans by splitting the AJAX calls