somewhat working editor - refactoring javascript to make it clear
adding marked.js - client side markdown parsing