Found a solution, whilst its not with the DOM
its the only way I can see of checking which version I am in...
$.ajax({
url:'file:///android_asset/www/icon-72-2x.png',
type:'HEAD',
error: function()
{
//file does not exists
},
success: function()
{
//file exists
}
});
Only works with Android, but paths can be changed to match iPhone and the other devices as well.