create task that just inits the phonegap platforms