Style fixes in src/cordova/ustil.js

 - Add jshint config line.
 - Make jshint happy.
 - Use regular function defs instead of inline assignment. This reduces indent,
   and hoists the functions up so they can use each other.

 Most of the diff is the white space of reduced indent.