I am surprise that PhoneGap let this go though: you should use dot-notation rather than associative array one for a static string:

`phonegap.splashScreen['android']` ==> `phonegap.splashScreen.android`