Removing unused router on client code