So it looks like these code blocks are identical in each browser. That means you can write a function in `base.js` called something like `correctPotentialBlocksInList` and then just call that function (e.g. `wym.correctPotentialBlocksInList(evt, container)`) in the browsers. That will reduce code duplication.