phonegap port for pushbots library