Update stats.js

Made data points lists of objects.
Merge pull request #2 from rootelement/patch-2

Update stats.js