Restore to my PieceCountVars factory and driver.js
PieceCountVars function-factory done
Driver is correct. Please, no need to manually import JCalcs if in correct folder.
Separate thread for graphs