As far as I can see in jQuery API documentation, unbind() has been deprecated:
https://api.jquery.com/unbind/
As of jQuery 3.0, .unbind() has been deprecated. It was superseded by
the .off() method since jQuery 1.7, so its use was already
discouraged.
And off() method should be used instead.