Minor javascript fixes

Add missing semicolon
Reset the response box after a message has been sent