Update url using the HTML5 history api