restarting from js, without sorcery