change implementation and interface of rjax