1. log into portal using IE10
2. open developer tools F12 (refresh required)
The warning appears: HTML1506: Unexpected token. Upon inspecting the source, IE10 dev tools identifies the line and character count where the unexpected token occurs. That character is the beginning of the first <script> block after </body>
EDIT: "character" is impossible to spell correctly the first time.