Extract ast-deepcopy.js out.