PhoneGap plugin for PGB