post-data for ajax-requests
added missing function-keywords