snippet code highlight prototype, console bug