Changing out jQuery.delegate() for jQuery.on()

As of jQuery 1.7, .delegate() has been superseded by the .on() method.