Final assignment in CIS217 phonegap site