jshint options

because, I mean, yes.
cleaned up code

because that's what i do
bug fixin