randomtask: fix an update I omitted, to return Ajax rather than redirect