Update cordova.js

Fix the bug pause event do not call correctly.