Example of Using Pull-To-Refresh in PhoneGap / Cordova apps