changed new event to js
changed new event to js
cleanup + added comments
added pipe support
moved function out
changed back makefile to use pipes + removed comments
reordered
added comment
cleanup
Merge pull request #6 from notthetup/neweventjs_withpipes

Moving newevents to node from golang.