fix share-toolbar pinit function (javascript rewrited)