Some fixes for mii.ajax.