fix bugs and upgrade to phoneGap 3.0.0 use command tool phoneGap and cordova