Tweet button construction logic appended to social namespace