code: function(json, indices) {
                                  for (var s=0; s<json.length; s++) {
                                      // gap filling
                                      if (indices[s] >= json[s].dps.length) {
                                          row.push(null);
                                      }
                                      else if (json[s].dps[indices[s]][0] == t) {
                                          var val = json[s].dps[indices[s]][1];
                                          row.push(val);
                                          indices[s]++;
                                          if (indices[s] < json[s].dps.length) {
                                              nextTime = Math.min(nextTime, json[s].dps[indices[s]][0]);
                                          }
                                      }
                                      else {
                                          row.push(null);
                                          nextTime = Math.min(nextTime, json[s].dps[indices[s]][0]);
                                      }
                                  }
                              }
docs: break condition