experimental console support

did this on github's html editor, so forgive mistakes