Major changes: see description

1. Now uses jQuery
2. Now highlights as you type.
3. HTML and Preview generation happens when tab is open.
4. Combining events and keystroke handler into editor.js