had to change to get PhoneGap to work