moved the bluetooth code into coffeescript as a watch analytics task