re-implement ViewAjax using jquery