Revert "WIP addTask in api.coffee"

This reverts commit 81f2b6789ef66bd21f3fbaafa43ded19a02865b8.