removes deprecated jquery .live() and replace it with new .on() for jquery 1.9

Rails 3.2 using jquery 1.9. The .live() function is deprecated since jquery 1.7. The new function is .on().