Update eventlog.js

Fixes issue #56