make router.js compliant with jshint
Redirect the main page to today view
refactor views.js to be compliant with jslint.
bugfix for dragging slider

When drag slide to change interval value. The day result will refresh itself to group items according to the new interval
BugFix: when specfiy a time, no longer jump to start of the week
BugFix: show correct visiting time for items that visited multiple times

// XXX The results returned by chrome query contains
// only with lastVisitTime. The lastVisitTime of items many not
// belong to the query range if the corresponding items are visited multiple times.
// This code sanitize the results: if a visit's lastVisitTime
// doesn't belong to the range, then we will use the time
// of the previous item that belongs to the range.
add locales to chrome i18n module