[BUGFIX] Remove deprecated jQuery functions

Remove deprecated jQuery functions like live() and replace attr()
with prop().

Resolves: #45543
Releases: 2.1
Change-Id: Ia2542f0917d2043e87373a9379b0afa688815ceb
Reviewed-on: https://review.typo3.org/27660
Reviewed-by: Henrik Ziegenhain
Tested-by: Henrik Ziegenhain
Reviewed-by: Alex Kellner
Tested-by: Alex Kellner