Replace live by on

Live has been removed from jQuery, causing code breakage.