Some javascript, phonegap and PHP snippets added