Xbox One javascript error is an error that usually occurs due to misconfigured files.
1. Disable Display JavaScript Error (Advanced)
Xbox One javascript error in Internet Explorer (IE) could be caused by an outdated Internet Explorer (IE). Updating the Xbox One console will also update the IE. If the error persists, disable Display JavaScript Error (Advanced) in the Internet Explorer settings, see image below.
Image Credit: genesismarasigan / ErrorSolutions.tech