As designed Hardcoded text: 'The server responded with an error. The error message is in the JavaScript console'

I believe Mike said somewhere else here at XenForo that JS errors are mind to be seen by developers or people with some programming skills so hardcoded phrases on JS files are acceptable.