jshint test code as well, timespan fixes