Bundle changes

Currently the only the changeObj by codemirror are used. Some kind of bundling them in a array could improve the performance.