Apache DeviceMap 2.0 Javascript Client