@meeee the ``replace`` call is still valid for the following reason: The JavaScript code above serializes an input form. But the basic assumption for this form is to provide data for an object update, so, the forms ``_method`` attribute is set to ``PUT``. But our preview JavaScript sends a ``POST`` request, thus, we still need to remove the ``_method`` attribute serialized into the form string.