reconstruct share.js