Removing console.log statement as this can crash versions of IE > 9