Add for phonegap.