vanillajs ajax forms, with multipart encoding support