add `console = { log: print };` for use with d8