phonegap ibat