add deviceready listener before starting acceleration watch and other