module.exports = function () {
 exports.setEventListener = exports.setDestroyEventListener = function (callback) {
  cordova.exec (callback, undefined, "OnDestroyPlugin", "setEventListener", [])
 }
 exports.addOnPauseEventListener = function (callback) {
  document.addEventListener("deviceready", function () {
   document.addEventListener("pause", callback, false)
  })
 }
 return exports
} ()

@@ -55,42 +55,8 @@
 er =
- exports.setDestroyEventListener =
  fun
@@ -161,185 +161,8 @@
 %0A %7D%0A
- exports.addOnPauseEventListener = function (callback) %7B%0A  document.addEventListener(%22deviceready%22, function () %7B%0A   document.addEventListener(%22pause%22, callback, false)%0A  %7D)%0A %7D%0A
  ret

Update ondestroyplugin.js