Update server.js
Merge pull request #2 from drdim/master

fg
Merge pull request #2 from Yaffle/master

CORS + EventSource update