Phonegap 3.x Twitter and Facebook sharing system