put phonegap js on the top