[WIP] Pass all tests of insertOrderedList

This is still work in progress. This pull request will be removed later because the commit name is temporary.
Second parameter of callback of Array.prototype.forEach is index. So, we can write:

listNodes.forEach(function(listNode, index) {
  ...
});