Make sure console is injected after page refresh