Update graylog.js

Fixed undefined error
Merge pull request #11 from micahlmartin/master

Fixed undefined error