Let's use this error text like this instead:

'document.registerElement: \"' + String(name) + '\" is an invalid tag name because it is reserved.')