use bootstrap-datepicker, move js into dashboard.js