Updating the javascript to be a little cleaner and hopefully more efficient in some respects. Have noticed that the datepicker change event no longer works. this needs investigating. Also have logged an issue about deleting items too quikcly in the githun issue tracker