Revert "adding a bunch of junk for phonegap"

This reverts commit 5c21a435eef3beb8ac892f9aa36321f389c952be.