HTML5 mode on navigation