Update taskajax.tpl

I guess it would help if I put the perms check in the right place, gawd.