Optimised and standardised the social button tritium script