Deletion of unserviceable js directive;
Replacement of date picker directive;
Modification of date picker function;