Use empty route name for anonymous routes.

Without this patch, `route:<name>` is triggered with `callback.toString()` which likely contains spaces and will trigger events erroneously.