JS0051: Internal error
The code has revealed an internal error in the script engine.
To correct this error
Rewrite your code to produce the intended results in a different but equivalent way.
Click the "Microsoft Product Support Knowledge Base Link" at the bottom of this page to find advice for workarounds.