Revert "for phonegap"

This reverts commit df0f870a7fc8c822a1c134d589ab6640bbaf0c60.