organize js n updated markdown editor