Use defineproperties to set facebook share prototype