a test using phonegap build and making an ajax request