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