Fixing user agent override that broke after Cordova 2.3
Merge pull request #767 from khawkins/fix_user_agent

Fixing user agent override that broke after Cordova 2.3