code: function() {
        	$("#btnStartMonitor").click(app.startMonitorMode);
        	$("#btnStopMonitor").click(app.stopMonitorMode);
        	$(document).one("mobileinit", function () {
  	        app.receivedEvent('deviceready');
        	});
        	$.getScript('js/jquery.mobile-1.4.4.min.js');
      }
docs: deviceready Event Handler  The scope of 'this' is the event. In order to call the 'receivedEvent' function, we must explicity call 'app.receivedEvent(...);'