Prepare for pushState routing