Improve perfomance to jbm editor