Test with navigator.device.exitApp

navigator.device.exitApp();