AJAX: Pass link class so updated button will use it.

See #56.