Revert "Revert "started HTML5 nav support""

This reverts commit 1ec8914a9d385e2c16770a7eb7e9dc1e5653cb01.