Debugging rate dialog within phonegap