Changes related to jQuery ajax for the dynamic dropdowns