JSHint
Adjustments to datepicker