var findGameSettings = document.querySelector('#gameSettings');
if (findGameSettings !== 'null' ){
console.log('findGameSettings exsited-------------pass creating new settings.');
console.log('findGameSettings = >' , findGameSettings);
} else {
// do stuff
}