uncomment the pause() and resume() method call in test-js
fixed #3801. uncomment pasue&resume logic when applicationDidBecomeActive and applicationWillResignActive