metodo javascript para carregar os device by user