stuff for phonegap