[TASK] Move JavaScript files out of t3lib

t3lib folder should diminish and finally dissolve itself.
Moves JS files out of t3lib to corresponding extension folders.

Change-Id: Iffdbd1a919dadae923034d38dedafa68a902da26
Resolves: #48379
Releases: 6.2
Reviewed-on: https://review.typo3.org/20903
Tested-by: Wouter Wolters
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn