Add JS to follow/favorite buttons