Fixed the deepcopy name to deep_copy to match the exertnal js function name.