adding Phonegap Lib