Fixing for CommonTasks library

removed redundant functionality to make use of CommonTasks.js function
library.