ran this through jshint with airbnb settings just to see what it would be like.