Added phonegap script require.