Bug 1102825 - Center headers properly

Do the same in `share.js`