@drewforchione was running into issues using this code on a Raspberry Pi.
In both remote.js and sensortag.js the following UUID's are uppercase:
var serviceUUIDs = ['FFE0'];
var characteristicUUIDs = ['FFE1'];
When changed to lower case things work as expected.