shim console for old IE in adapter.js