clean up of hivejs editor