added ajax-functions