Moving share button JS into utils, moving some JS down to the foot of the page