Removed code for tdtool from tellstick.js and made an node.js module insteed