Phonegap plugin for phonegap