doc ready changed for device ready