get device list via ajax