cleaned out more phonegap specific stuff