run tasks.js only on task page