Fix smoothing by adding zero counts.

Before, there were only data points for years with a count, meaning that
smoothing wasn't using the previous k years, but rather the previous k
data points. Adding zeroes for all years without counts fixes this issue.

Calling the smoothed function on the same data would update the data as well
as creating a new smoothed version. Using $.extend() fixes this.