created realtime chat example
updated main.js
chat example now supports sending images through HTML5 file api