Created working engine constructor function with generalized filter that works with an arbitrarily large collection of series.
Created basic test case using old data in index.html. Have filter functionality that is independent of the number of series added to the input data.