edits update the javascript. No error checking yet>
made editable update js objects. no error checking yet.