Added appropriate jQuery for adjacent forms.