phonegap-workshop-solutions part13 from https://github.com/ccoenraets/phonegap-workshop-solutions