Reworking of task.js with Backbone