Adds support for Phonegap OTB

![phonegap_full](https://cloud.githubusercontent.com/assets/419703/3559107/407dde34-0945-11e4-9f53-65d84d566949.gif)