fixed areaMode=all regression
When setting areaMode=all only the area of last series was actually filled
Handle a bit of fallout from merging the grep() function

Fixes #313
Merge pull request #316 from SEJeff/fix-javascript-omission

Handle a bit of fallout from merging the grep() function
Merge pull request #307 from piotr1212/fix_areaMode_all

fix: areaMode=all regression, only last series was filled