Added basic support for ajax forms.