Following a tutorial of building Hybrid Apps (http://coenraets.org/blog/phonegap-tutorial/)