Updated jquery "live" to "on"

Updated the deprecated "live" jquery method to the new method "on" to be compatible with the newer version of jquery.