Adapted Node code to the latest version of iotope-nfc