if (!window.console) {
  window.console = {};
  window.console.log = function(){};
}

