Updated demo application for PhoneGap/Cordova 2.3.X compatibility.