luci-base: form.js: improve save error handling