added test for on powerOn state to make work with node-red
Cleaned things up
added the missing '
Broke it, fixed it
Clean up the changes
Merge pull request #3 from hardillb/master

Fix node-sensortag for when included in Node-Red (issue #2)