Replaced pre jQuery 1.9 method .live with the newer .on method.