Update jsSyncCore.1.0.js

issues with clone method