adding a bunch of junk for phonegap