$.ajax works in android phonegap but not in blackberry phonegap