changes from phonegap-start project