[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE

This patch fixes invalid JavaScript code (adds a missing closing
bracket), that prevents BE users from creating links to anchor tags
in the RTE.

This is a regression fix to #60919.

Resolves: #61943
Releases: master, 6.2, 6.1, 4.7, 4.5
Change-Id: I90ecba126191322048a2c4aca7835d3795764324
Reviewed-on: http://review.typo3.org/33020
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Revert "[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE"

This reverts commit 9bcebec002224bbc2a0dcd38cff032a14f2e075e.

The commit message of the original patch references a wrong
issue number and the target versions seem to be wrong too.

Change-Id: I9d910e6ad046d8864ef6c03594b632349f84b50b
Resolves: #61968
Reverts: #61943
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33058
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[TASK] Fix functional tests for EXT:impexp

After issue #61944 has been merged, sys_file_reference.link does
not support NULL values anymore (which is fine). However, in the
past the default has been NULL and also has been written in the
accordant functional test data assertions.

Thus, NULL assertions are removed from the test. The change of
the "size" property by 5 bytes can be explained by a difference
in serializing NULL values and serializing an empty string.

Releases: master, 6.2
Related: #61944
Change-Id: Ia8700d6b6e374412e3300f12f4d6bb341deb4cfe