You can register a callback on fadeOut so that the 'hidden' class can be added only after the animation is complete.

```javascript
$("td.replyButton a.subscribe").fadeOut("fast", function() {
	$(this).addClass("hidden");
});
$("td.replyButton a.subscribe")removeClass("hidden").fadeIn("fast");
```