Update router/hash to handle IE better