misc: use goog.global.console instead of console where possible