added calculated values to task.js