Phonegap with facebook plugin