capturing the HTML 5 input event or keyup paste in old IE

Fixes #1 (pasting into the markdown textarea)