Fix exception page console regression

The regression happened after #67.
Merge pull request #73 from gsamokovarov/fix-exception-page-regression

Fix exception page console regression