Sample Background Service for Cordova