The way it worked before is sufficient. At run time, it gets the console object from the global context, which was set by the JSCA generator.