Update cloneFunc.js