change deviceID to deviceAddress in js files