A better solution to blank ads in Cordova 3.4