tell jshint to warn about leaking globals
be smarter about rounding months and years; closes #344