datetimepicker added, replaced all the js things with coffescript