source code paint Phonegap