added time series bar chart when day is tapped and modularized code using require.js - Jamie