add first version of api.js and shareitbutton.js