more minor changes for phonegap

changes