JS: preventDoubleSubmit: re-enable buttons on unload

when using back button forms are still usable