added deviceready to doc ready