JS: reducer output only if map size > 0
Merge pull request #6 from intentmedia/sondag/with-retries-production-ready

JS: reducer output only if map size > 0