Fix jshint warnings

Once #32 has been merged.