[js] A temporary hack to update the body content when changes on an html doc flush to disk. Will use this to develop the editor plugins with.