add favorites and repost.js