Remove 'Cordova Facebook Connect plugin' from alerts the user is likely to see (as this will confuse), also use Cordova API to do a native alert with a meaningful title ('Facebook') rather than showing the index filename as the title.