Fixing AJAX form issue and setting a proper element names to avoid any duplicate HTML IDs.