Update taskajax.tpl

I guess it would help if the perms check was in the right spot :-P