Moved JS out of the index view and added in daily and monthly charts.