jQuery-function .live() is deprecated, updated to new function .on()

jQuery-function .live() is deprecated, therefore updated to new function .on().