Changed js to select id rather than all forms for ajax