phonegap events added to recipes