Implement console.log() and friends in JS.
Unify Util.randomAlternative()