Optimizing it with latest phonegap
Added specific platform files