When possible, use jQuery .on() rather than .live().

jQuery v1.9.0 no longer has .live() in the API.  Instead use .on() if
it is available.