update share.js to use localhost