bind
As mentioned at the jQuery 3.0 upgrade guide [1] the `bind` method is deprecated. Replace with `on` method. [1] https://jquery.com/upgrade-guide/3.0/#deprecated-bind-and-delegate