js: add temp protection against calls to console.log