Update to task.js