Fix exception page console regression

The regression happened after #67.