Support for version 1.9 or higher of jQuery

Changing the method "live" for method "on" that was removed in version
1.9 of the library.