now using pieceInMotion variable instead of dataTransfer object, as that's not working when going through node
adding rudimentary node.js file