Add write html
fix write.html, rename to phonegap.js, add camera functionnality