PhoneGap course Week 3 homework