Stub out javascript console object when it's not defined. We're going to be doing lots of JS/AJAX work, so the console will be in heavy use for a while.