Fixed a logic bug in reset, where nothing would get reset if there was a welcomeMessage.
Fixed a logic bug in reset, where nothing would get reset if there was a welcomeMessage.

lfex/jquery-console,woshilaiceshide/jquery-console,lfex/jquery-console,pratikju/jquery-console,0x0all/jquery-console,woshilaiceshide/jquery-console,0x0all/jquery-console,pratikju/jquery-console,chrisdone/jquery-console,chrisdone/jquery-console