URLs are now passed to the client side code as JSON.