node - putting it all together (server+subscriber now)