Deleted replica code in calculation.js