console log mock ajax calls on initial load

this console.log could throw an error in browsers without console. i need to make this call safer