moved phonegap js above the body