ajax/forms

ajax/forms

hello,
i have ajax querries to my server. they have urls to request and fields. both can change will makes me change javascript files.
reading different tutorials i found that it is good to make javascript minimally changeable
my question is:
is it good to create hidden forms in html document which will actually describe call interface and make calls according to those forms?