My own markdown editor in Javascript