starting task.js implementation