Put 'use strict' into the nested block.
dom.split test case and bug fix for issue #17.
enable record undo on ENTER event