added timestamp and fix the bug

added timestamp and fix the bug where clearing the input if someone else
send in new chat.
Now working with IE8+ , though degrade experience to compare with Chrome
and the gang.