[BUGFIX] Fix JS error in SuggestWizard

This is regression fix for #59701.

The ID of new Content Elements now contain a dot character.
Fix the generated JS code of the SuggestWizard to filter this dot.

Resolves: #62438
Releases: master, 6.2
Change-Id: Ifd6937a7645c1bfd509fa1b5912d02f2d01c5e0d
Reviewed-on: http://review.typo3.org/33503
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Bernhard Kraft <kraftb@think-open.at>
Tested-by: Bernhard Kraft <kraftb@think-open.at>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>