Update eventSource-httpHandler.js

just for my self so I can use it as a module