Changed calls to deprecated jQuery.live() to jQuery.on().

So sorry for the triple pull request. Will try to make sure my ducks are in a row in the future.