Moving share button scripts to header