fix big that caused console state not to save

Fixed bug introduced by 2879940dbc36d03356b16d69292e954346f0f3b2 that
prevented console from staying open between page loads.