added navigation
refactor debug.html