Setup for html5 navigation.