Duy
fix: move navigation code to early init, right after DOM refs
c66acce