Trying to get the listeners to work properly.  No idea how/which listener to implement for node.js