move console into bootstrap, where it will be defined
ctx.getSource and ctx.getSources