Modifications for the phonegap app