Add clear function for ajaxModel