replaceWith not handling missing routes, using handleURL instead