added editor functionality (removed editor standard.)
Js to make the editor appear