Sorted ajax triggering problems. need to sort out Pundit issues
 Sorted datepicker, formatting issues. need to sort out Pundit issues