use the new `M.reset` function instead of reloading the entire page