var series since series isn't defined in the outside scope anymore.

Is the _.map(series..) still necessary since there is only one data series? Or are you leaving it in for future usage?