calcs.js refactored
purge, clean and refactor batch.js