commented out console.log for IE compatibility