Baker integration for phonegap