cleaned up editor.js a bit, still needs some revising to use more flapjax
piping