update constructor.js
update object.js and jigsaw.js