add flot graphs, add underscore.js, add range to database to retrieve a time range