Issue 115 eslint

I'm not overly happy with this... but i'm open to reviews before I delete it and try again.
Comments inline.
No it is to raise a 500.