Fix imports for cordova 3