PhoneGap scratchpad