server: Move event type helper methods waaaay down

So they're not the first thing somebody sees when going into server.js.
article: Fix typo
server: Use single quotes

I don't know why I'm such a sticker for this...