javascript ajax retrieve alarmInfo fixed