Example SPA creating tabs that reflect and update location.hash