Applied the fixes for crash issue with 4.3(CB-4471) from phonegap master to 2.7.x