added back deprecated tasks.js api, for backwards compatibility