Switch from puts to console.log

We're not in ruby any more ;)