improve debug.html ui