JS redirect: only set a variable (it was double-reloading).