Update JS snippets to better reflect calls to default routes