add deviceready listener