improved naming in binnedData.js
more variable name changes

Fixes #215