pirates in phonegap-start