Bugfix: Avoid JS errors in menu frame when language text contains single quotes