minor bugfix + PhoneGap IOS native app