Bug 1088521 - Load share code only when this is needed

nit: s/onOtherClicked/_onOtherClicked ;)