if(key.key==='Esc' || key.key==='Escape'){ // key 27 = esc key Typer.hidepop(); // hide all popups }else if(Typer.text){ // otherwise if text is loaded var cont=Typer.content(); // get the console content if(cont.sub var cont=Typer.content(); // get the console content if(cont.sub