Trying to sort out more grief with phonegap