Colinmacdonald/748 ie fix

- Adds a default chat example
- removes the use of `getElementsByClass` (unsupported in IE8)
 - adds `type="button"` to prevent enter input keydowns clicking the button and causing duplicate messages in IE8