phonegap plugin scratchpad