Raspberry Pi - example addressing GPIO inputs/outputs in Javascript