added console.log on docready